package com.health.memberbackstage.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.health.memberbackstage.pojo.Member;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

public interface MemberMapper extends BaseMapper<Member> {

    @Select("select * from member where name = #{name}")
    Member selectByName(@Param("name") String name);

    @Select("select * from member where idcard = #{idcard}")
    Member selectByIdCard(String idcard);
}
